package com.lqq.designPattern.bulider_pattern.builder.extend.after;

public class Client {
    public static void main(String[] args) {
        //链式编程
        Phone phone =
                new Phone
                .Builder()
                .cpu("高通骁龙888")
                .screen("三星2k+120Hz屏幕")
                .memory("三星12G大内存")
                .mainBoard("海力士主板")
                .build();

        System.out.println(phone);
    }
}
